﻿using System;
using CourseManager.Model.Data;
using Ext.Net;
using System.Linq;

namespace CourseManager.View.Contents.Admin
{
	public partial class CourseContent : System.Web.UI.Page
	{
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!IsPostBack)
			{
				DBEntity ent = new DBEntity();
				var source = from course in ent.View_Course select course;
				CourseStore.DataSource = source;
				CourseStore.DataBind();
			}
		}

		protected void BtnSearchClick(object sender, DirectEventArgs e)
		{
			string keyword = txtKeyword.Text.Trim();

		}

		protected void BtnAddOkClick(object sender, DirectEventArgs e)
		{
		}

		protected void BtnUpdateOkClick(object sender, DirectEventArgs e)
		{
		}


	}
}